<script>
	import {lessee} from "@/api/baseUrl.js"
	import {
		update
	} from '@/common/utils/update.js'
	export default {
		globalData: {
			userInfo: {}
		},
		onLaunch: function() {
			console.log('App Launch')
			this.$store.commit('lessee', lessee)
		},
		onShow: function() {
			console.log('App Show', uni.getSystemInfoSync())
			//小程序更新
			// #ifdef MP-WEIXIN
			update.miniproUpdate()
			// #endif
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
	/*每个页面公共css */
</style>
